package datastructure.day01;

/**
 * @author: Gan
 * @date 2021/4/28 0028 15:59
 * @description:
 **/
public class TestDLinked {
    public static void main(String[] args) {
        DLinked dl = new DLinked();
        dl.add("movie");
        dl.add("play");
        dl.add("game");
        dl.add("eat");
        dl.remove(1);
        System.out.println(dl.contains("play"));
        dl.replace(1,"study");

        System.out.println(dl);
    }
}
